package com.baizhi.springboot.dao;

import com.baizhi.springboot.entity.Url;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UrlDao {
    List<Url> selectUrlByPage(@Param("offset")Integer offset, @Param("limit")Integer limit);

    Integer selectCount();

    void insertUrl(Url url);

    void deleteUrl(Integer id);

    Url selectOneUrl(Integer id);

    void updateUrl(Url url);
}
